<?php
require_once('password.php');

function connect_to_database() {
  global $password;
  global $username;
  global $database;
  $conn = new mysqli('localhost', $username, $password, $database);
  return $conn;
}

?>